#!/usr/bin/env python
# encoding: utf-8
"""
startpage.py

Created by Roman on 2010-01-17.
Copyright (c) 2010 __MyCompanyName__. All rights reserved.
"""

import os
import logging 

from google.appengine.ext.webapp import template

from model.twitterstatus import TwitterStatus



class StartPage:
    def __init__(self, loggedIn = False, username = None):
        self.loggedIn = loggedIn
        self.username = username
    
    def render(self, out):
        template_values = {
            'loggedIn' : self.loggedIn,
            'username' : self.username
        }
        
        path = os.path.join('empty.html')
        out.write(template.render(path, template_values))